package top.roud.ssostarter.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.roud.sso.service.TokenService;
import top.roud.sso.service.impl.TokenServiceImpl;


/**
 * @author roud
 * @version 1.0.0
 * @describe
 * @date 2025-01-20 20:41
 */
@Configuration
public class SsoConfig {
    @Bean
    @ConditionalOnMissingBean
    public TokenService myService() {
        return new TokenServiceImpl();
    }
}
